Add logging capabilities
Add register counting, utility checks and tests
Add checkout and count to ClI