Improved docs for configuration.
Fixed some PEP8 errors.
Removed unused documentation.