Further fleshed out the basic structure of tasks.

1. Mostly Javascript stuff.