change route map from static to instance
reset the uri cache on GenericRouter to allow re-use and testing
added generator for phpunit tests