Added ability to add files to api calls. Also added utility methods for sending standardised http responses.
Merge remote-tracking branch 'origin/master'