Move the map layer classes to a separate file