Refactoring forkIO to use async, do not export Settings constructor