A lot of changes. 

Adds YML files to the workspace. It is easier to setup and will add a base for future changes. Also fixes SQL error .