Create TaskImpl data structure

Created constructor, accessors and modifiers for Task.