pushed primer to middleware from routes
Merge branch 'master' of github.com:johnhof/IceBuddy into middleware
Merge pull request #8 from johnhof/middleware

Pushed init function to middleware instead of the router