remove old commented out code, add some TODOs, make printing prettier. add method to normalize a URL