moved the instantiation of the View into the View itself instead of in the router - asyncronoush errors before