Cleanup
Move data model utilities from EditCtrl to AppCtrl, and a constant to main.js