added basic url parsing for wms