Adding the interesting stuff

Here's the server!
Use .json instead of .send when sending json, or the Content-Type to 'application/json'