Introduce delay loading of images to optimize page load times.
Refactor directives into their own module