Testing post job
Fixed the recursive call to post function, was missing destinations.
Simplified nested if statement, fixed recursive bug, fixed bug for destination async post.
Added api prefix to routes for convention. Tidied up variable names, created a settings object for ease of use and readability.
Set up a workflow pattern so we can start to string tasks together for real.
Moved all of app.js into server.js inside www to separate out the web site from the rest of the project's logic.
Moved the routes folder to the www folder as it is web specific.
Moved the routes to within www.
logic was moved into www/server.js
updated the location of uploads as it was moved
Psueduo coded the workflow's logic.
altered the duration value for testing