Created the initial Switch class.