Rework data types for storing connection info between actors
Add checks that all required connections are present
Add TODO
Add checking of schedule validity
Add helper function for compilation
Scheduler which is able to schedule scatter/gather functions
Fix compilation of scatter/gather

Workaround was sending closure as message instead of pasing it
as parameter
Fix scheduling