Don't pass around fun everywhere
Use map/2 as implementation for each/2
Default to two worker per scheduler
Fix indentation