add database connection code
almost there with db insert from xml