added all core states to app.js and started building out some of the associated controllers