Added basic task library.
Merge branch 'metrics'