Initial refactor.
 - Return home early
 - Extract repeated animator branching logic into internal service
Refactoring 'registerState()' into 'stateBuilder'.
 - Adding tests
 - Adding comments