Structure and Functions of an Operating Systems