Main class in the pinlib is now machine.System, will decouple modules using events