Implemented changes in sql code in python.

Code to add/remove/edit items is still missing