create directory db and add file database schema