Initial commit

I've made a few changes to the origional dbconf.py file that allow it to create entries.
Now to fix the rest of the code.