Adding basic entity class and factory, refactoring entities (projectile, etc) to inherit from that class. Also some reorganisation.