added 4 funcs to planet.cpp snd started implementing librery.cpp