Move now checks id instead of name

Replaced rng with a static variable that each instance copies and than
static variable increases by 1