Added URL validator and other improvements

Added URL validator and other improvements