updated app controller
updated routes
template
add regions and toggle logic to view