Fixed some code and modified behaviour when the file already exist on
the VT DB.

Add functions to send url's and to specify an api key on the command
line instead of by file.