A Texas Hold'Em engine with callbacks for embedding inside applications