A rook taken without moving would not have it's castling option removed.
Move a lot of stuff around for better organisation and rewrite engine analysis / evaluation to be a bit more side agnostic.