organize code
add 'digest' property to Extendable api
close #11: persist tasks