Create dbapiwrite.cpp