Updated comments, added command line options for user, bucket, etc., add temp file upload test for command line call.