moving app into module