functionality for creating database db folder