first working sql table add.  Notes and todo added.