Adds core yml files and fixes SQL error 

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