Added dataType to Command and eventType to subscribe method

Change-Id: I9689a0f931a4cc1e7338268d4b1eece4337286c7