Created planet class, refactoring

Added starfield temporarily. This will be more advanced later on.
Moved the initialization code for irrlicht to where it should be
Cleaned up the global state code.