added entity, tile and player class