Fix castling bug, start refactoring moves