refactor to scheduler
massive refactor to align with https://github.com/fsprojects/FSharp.ProjectScaffold