Added setters and getters for Task Object

-
Added logic for Task object (TaskManager)

-