Add missing dev dependency
Add test script to package.json
Test and fix 404 on calling index on a resource that does not exist
Refactor to remove coffee classes and use of the keyword this