added a heartbeat-lib project to keep tools that belong in both projects