Added lots of upload code, polished up download code, added unit tests