Added machine, tests and examples