refactor(route): created Route interface to get rid of dart2js warnings

Fixes #11