Refactored CAB Module so it is compliant with PEP8