changed ConfigSettings, added template files, added config hooks