Implemented InsertDB class