Add first draft of the handler for the Rest API (api/file)

This pull request adds the first draft of the handler for the Rest API (api/file) to handle file uploads and manipulations.