implemented basic file upload features
refactoring and cleanup test program and uni tests