api, refactoring
sqlite testfiles removed