Gotten database adding to work

Can now add an item