fully working direction with control pad
direction class passed to own file