Created the error objects
Added test endpoint
Got a working endpoint
Fixed JSHint errors