modify Main route handler module

Notable changes: when submitted to `extend`, it will now create some constants in the application class, which can be used to store "static" values.
add stubs for renderers
start using Main renderer in Main route handler