Update couch module to meet PEP8 standard