a few more structural changes for grouping
Added swipe handling for deleting tasks
A little refactoring for task management functions