Changed to Semantic Versioning
Added support for command-line arguments (thanks to @clibs).