add library ui-router, fixing version of library ui-bootstrap
use new ui libraries, extensive refactoring to suit