Rework config to use oracle and local config file