Added database creation method