Add cleaner constructor for error responses.
Add some project route handlers.