Moved out inheritance to its own file, added entity for base,enemy and player (very basic).