adding Database and Task functions
Merge pull request #8 from eporama/master

adding Database and Task functions