A small job manager in python