Switch to using flag package

This is in preparation to make a '-version' flag as to be able to cut
a release.
Add a -version flag for users to know what release is being used