Implemented MoveIter class
Splitted entire code into module