Allow setting version number to specific value

Changes for adding a `set` command as discussed in #27.