added router functionality

added ui-router
added routing