Merge branch 'master' into develop
add cockpit template and thread model for heartbeat
add communicationthread and use in heartbeat and rpc
Merge branch 'develop'