Role Interaction Models using Erlang