added Generic Gateway that performs a task and sleeps for n interval
changed argument type to Time and renamed to Task Gateway
Merge pull request #265 from igal-getrailo/generic-gateway

added Generic Gateway that performs a task and sleeps for n interval