To improve the operating system already created by Alan in Typescript