Basic upload functionality finished