First working version of GatherPHP