Design and implementation of a Management Operating System (MOS)