Added error handling to API

Removed the html client, added a favicon and added global error
handling.