Add command to print the current version

There was an unused @version function and no version command, so i added one.