Adds state change functionality

Implements different main content views using ui-router