created initDB class