Tile and Actor classes refactored