Allow passing in of product codes for registration

Fixes #4. Use the --code or -c commandline parameter to pass in a product code.