Started implementation of upload