add cloudapp from @holman with ability to upload directories