refactored some code including moving helper methods that don't belong in directives to a separate file
implemeneted lazy loading of images
Merge pull request #1 from tomCollinson/lazyloading

Lazyloading