A state framework, based off of UI-Router.