Add logging

Make all of the parameters in create_order() and
create_secret() optional except for mime_type
Add a test file, a configuration file, and various generated files