Adding in SQL based configuration. This feels dirty.