Added more to routing to handle different paths
Updated the sample app to use the new routing stuff