created database creation class