Removed yaml file from metadata request

Get rid of a warning about absolute template files on Dreamhost
Moved some common code into utils
Fixed up config initialization