Added tasks to application, only partially functional though.

+ loading and saving
+ dirty flag everywhere