Add SQL related files.
Add functionality to read settings form YML.
Fix models and tests to use proper configuration.