Add version command
Remove callback, fn is sync
Simpler json writing
Merge pull request #106 from Versal/feature/version

Add version command