moved chessengine into its own namespace