add database initialization