Broken upload - not so broken, but very hard coded

added initial unit test, basic upload, and file handling