main app object, refactorings, messages