Gave heartbeat and command id control back to user code.
Merge pull request #14 from sharrington93/master

Gave heartbeat and command id control back to user code.