moved view-app into a module