split app into it's own packge