Adds IFTask class implementation

-- Adds a basic implementation for the IFTask class.
Adds unit tests for IFTask