extract routes creation to own method.
test with routes