- Fixing PEP8 warnings
- Created parameter to define Pool mode in connection