move requirements to a requirements file.
put the sample config file back.
output the mimetype.
run pylint and autopep8
test the get_config and get_connection functions.