added Permalink class to read URL parameters and setup the map accordingly