Initial batch scheduler implementation