Update hg.php

added ability for controllers to autoload their their own config.