Add generic task management and generic http request method.