Structure of an Operating System