Contract Bridge library and engine