add version command. closes #24