Restructured application to use different views

1. Now the repo buttons flow down when on phone.
2. Removed router. Instead using a controller for managing navigation.
3. Separated all the logic in their respective views.