added own classes for player, level and hud
Finished refactoring