Application class now gets the method out of the url parameters