Update routes file with implemented routes

The basic routes are implemented in a very basic way. Minimal validation
is added. Error handling needs to be improved.