Added ability to generate API token
Added an API controller that accepts uploads as POST data