Worker.php

Main Worker. Used for queries, set variables, etc.