The First Stars and Galaxies - Basic Principles