Added bet_manager in api_communications layer. Added utilities in logic_layer.