Update batch architecture. Updated scheduler architecture.