Moved all start and stop logic to start_scheduler() and stop_scheduler(). Fixed cpu nodes to contain the correct cpus. Minor renaming.