Implemented Mux class