Added upload functionality.
Added test view for upload stuff.