adding file for URLs functionality
added command line parsing
Merge pull request #3 from alanjones/master

Added commandline options