move scheduler to own project