Added database functionality. Create, Edit, Delete work.