Refactor
Add basic url for routes.
Refactor tests.