Changed ActivityLoggger structure
Extracted everything from the main method into an application manager class