Separate app instance to exampleApp.js