Added multiple instances support.
Moved move() to prototype method.