further work on front-end

uploading does not work yet
added sample upload