Castling is implemented

Refactor moves handling
Fix game reseting