Add remote_api for bulk download / upload.
Move cloud endpoints handler to endpoints folder.