An event driven architecture for X10-Lang