Made the classes public then extracted the machine class
Made the classes public and extracted machine class