Tidied HTML markup
Added variants to array. Need to output these. Also added purge cache option