refactor route structure (using ui-router)