code upload

Code containing initial functionality