Fixing up file structure, refactored logic behind move, left and right methods

Fixing up file structure, refactored logic behind move, left and right
methods