The main functions for the framework. Adding routes, filters, prefixes and dispatch the application