Add Cordova build; refactored AMD modules; refactored app namespace; refactored router initialization