moves possible moves logic into own class