Separated config, util and bootstrap into individual JS files. This is just an initial cleanup. Full cleanup after the app starts working as expected.
Created app directory in the local documents folder based on the manifest appName and appVersion.