upload initial code

(still work in progress)