Added database-based yml build config
Moved handleConfig functionality into general Build method.
Windows fixes
Merge branch 'database-yml' into error-log-db
Fixed rm for windows