ssong25, hlim10: databaase interaction

added insertion and deletion database code to habit, todo and daily.