added class diagram and did some refactoring
Merge branch 'master' of https://github.com/livarb/uibmobilapp