Changed member vars of Scheduler to protected, and added protected default constructor