Move all config items to config file; remove unused config constants; use hosted resources.