moved the PHPEngine class from the demo project into the soop framework