removes subtemplates, and adds openlayers basis