Code Review

Tidying up code, still in progress.
Need to decide on HTTP response.
Changed to dictionary with URL key storage, storing tuples of url and
hash.
At the moment is not setup to return hashes now after change to
dictionary.
Commenting still needs to be done.