GameLayer, Entity and Physics class structure