added a new base class for game entities to do inhertiance