add lib/scheduler