Added commiting functionality
and the map contains *Task now