using c++11 regex to construct url based on a urlTemplate per datasource. And extract tileID from url also uses regex. ...Much cleaner now.... Moved comments from cpp to the header