separate views

needs controller clean-up
sql limit and number of pages done
adding a service to share data in between views
basic routing added