Evolution of early Solar System