Removing a reference to the obsolete stateManager

Changing the reference to use a router strategy that I know works, but
is probably wrong. If someone wants to show a better way to do this,
I'll update the PR?
Using wycats' Controller Code

Using wycats' Controller Code because he knows what he's doing
Merge pull request #347 from jkmassel/master

Removing a reference to the obsolete StateManager, using Routes instead