Revert "Backend of checkmate"

This reverts commit 9c4f33aa64a1e4a8dc8fc7425cfe12cf3dc8a644.