PEP8 compliance / Clean-up / Including an example configuration file

Refactored some functions, and included an example file. Made the ohthree URL simpler. Thanks to Cameron for the help!