add application and message

add application
add message judge
add message view