Add Layer as base class for TileLayer, ObjectLayer and ImageLayer