use public/private methods on app
Merge branch 'master' of https://github.com/kmilov/Phonegap-Boilerplate