Added routes.
Added tests.