Merge pull request #2 from jrcryer/master

Moving task registry and lib into separate files. Bumping devDependency to ~0.4.0.
Merge pull request #1 from SaschaGalley/master

Merge back