Adding pysqes commands.

Plus some worker fixes.