Added scheduler, moved processors into scheduler