Initial semi-working upload

Initial upload that's working.