refactoring structure classes (buildings, walls, etc.)