Added scheduler to server