Add BugSense logging to the app

Add BugSense logging to the app. Also, optimize the imports.