Added 404 error handling (which ironically causes a 404. Should fix that) and started work on adding some API goodness