Adding routes for API.
Bugfixes, bla bla bla.