Applied PEP8 linter to code
Cleaned up code. Use environment variables instead.