Code refactor. Added Engine, Map, Player classes.