Isaac translation made

A direct translation except I wrapped all vars in a class and made the
‘Main-Motor’ function to be atomic and return one value only.