package bootstrap;

/**
 * Created by Karol on 2017-04-20.
 */
public class Runtime {
}

@@ -17,72 +17,845 @@
 p;%0A%0A
-/**%0A * Created by Karol on 2017-04-20.%0A */%0Apublic class Runtime %7B
+import os.OperatingSystem;%0Aimport os.OperatingSystemImpl;%0Aimport scheduler.FcfsScheduler;%0Aimport scheduler.Scheduler;%0Aimport utils.Clock;%0A%0A/**%0A * Created by Karol on 2017-04-20.%0A */%0Apublic class Runtime %7B%0A    public static void main(String%5B%5D args) %7B%0A        String directory = %22./inputdata/%22;%0A        String fileName = %22GOOD_IMMIDIATE_FALSE%22;%0A        String loadPath = directory + fileName;%0A        Clock systemClock = new Clock();%0A        Scheduler systemScheduler = new FcfsScheduler();%0A        OperatingSystem myOS =%0A                OperatingSystemImpl.builder()%0A                        .withClock(systemClock)%0A                        .withSystemScheduler(systemScheduler)%0A                        .withInstructionsSource(loadPath)%0A                        .withConsoleOutput()%0A                        .build();%0A        myOS.run();%0A    %7D
 %0A%7D%0A

Fix parsing method