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

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

# Components
# TODO - what are components? - routeless services with views
# Generally accessible anywhere in the application
require './components/header/component'
require './components/sidebar/component'
require './components/flash/component'
require './components/confirm/component'

# Modules
# TODO - what are modules? - they have routes & entities
# they contain 'routes' which represent end-points in the app
require './modules/auth/router'
require './modules/contact/router'
require './modules/contact_method/router'


# Application configuration manifest
require './config'

# Application class definition
App = require './cordova_app'

# Top-level layout configuration - singleton global variable
