Switches : Change the Switch class to include empty constructor and init method instead having it in one