Refactor Delegate class

Issue #217 resolved
Kaya Kupferschmidt
created an issue

Delegate class should mimic std::function class. This class then can be used in Thread