add slave status in channelActive and channelInactive methods.Not
finished
heartbeat logic between master and slave

Change-Id: I2e74ae3a0118678fc364af563c9caf368282da77