Adding Exception, support for command line url passing, some basic validating on the data recevied