add Behavior and Module example #78 #79
add heartbeat while sleeping - fixes #77