adding sqlite database
refactoring
more general configurations