Adding code to ensure that when the API is first run it creates the /logs directory if needed.
Merge branch 'master' of https://github.com/nathanpeck/fintech-hackathon
Moving api.js to server.js