use db dir to keep compiled db
create requests