Moved app initialization to factory class