Moved Task to its own directory

1. Different task types will now extend the Task base class.