Refect application.

1) Add file ICommonConstants.java to hold common constants.
2) First send event tag when send event to socket.