Fixed image tags, more abstraction for layout templates, HTML and CSS
now passes validation checks.