Instantiate the app on document load