Converting service.py to OO again