extract separate handlers for js and css
allow to define routes on the fly by changing the application's context through the settings method