Task runner written in php