Added mapping of img src attributes, fetching and serving them.
Reorganized code, started testing