Add command auto-registration and tests
Catch exception on debug only
Add README
Add test executable