starts to persist machine params
adds true persistance
moves moveGenCode to machineService