Make router, view, etc. instanciated later