Created castling class