Moving the views out of app