Move calls to add_{routes,views,events} after fixing up config
Move calls to add_{routes,views,events} after fixing up config

These functions should be the last things that get added to the config.

usingnamespace/usingnamespace