Renamed config and db to templates