Refactored and added some more to the engine

Refactored states and Game class. Made the engine more independant. Added
classes for image loading and fonts. Refactored Menu class to use these
new classes.