Working with WMSC and new logic to map bounds.
Added WMTS comptibility.
Error naming openlayers fixed