Added scheduler to constructor