bugfix
added sql files
load schema and data from file, reimplemented tests