Exception handling, throw 404 instead of 500
Merge pull request #20 from cursedcoder/master

Proper exception handling