Rename module to smachine