(refactor) add ionic and change architecture
Merge pull request #30 from treelala/refactor/ionic

(refactor) change architecture to mimic ionic app