moved task manager interface to contracts