add LogcatAgent and its demo