Persistent config

I prefer php-ref over any other similar solution because it is simple to use, powerful and pretty.

Since I wanted my config to be persistent and done cleanly I refactored the code to support an external config file. I also included the config file, named refconfig.php. I am offering my changes to be merged with the master branch.

Thank you.

Igor