Text this: Mathematical modeling using coordination mechanisms for multi-agent systems in service oriented architecture