There's a new class!

/usr/lib/service.py contains most of the code of /sbin/yarfi.