added pragma marks for clarity
added video uploading api calls
upload video after recording