 
 # # # # # #
 
-# Starts application
+# Page has loaded, document is ready
 $(document).on 'ready', =>
   app = new App() # Instantiates new App
 


# App config
require './config'

# Application object
App = require './cordova_app'

# Top-level layout configuration - singleton global variable

# and requesting requisite permissions
require './services/sms'

# Components routeless services with views that are
# accessible anywhere in the application
# Used to manage the header, sidebar, flash, and confirm UI elements
require './components/header/component'
require './components/sidebar/component'
require './components/flash/component'
require './components/confirm/component'

# Modules
# Modules represent collections of endpoints in the application.
# They have routes and entities (models and collections)
# Each route represents an endpoint, or 'page' in the app.
require './modules/auth/router'
require './modules/contact/router'
require './modules/contact_method/router'
