Begun implementation of the uploader. Really rough stuff here.