Added config-sample.php for configuration settings.
Extracted stuff to a new GAPHP class
Cleaned up and extracted stuff to GAPHP class