HTML classes support

Removed unnecessary comments, added styles for testing, also considered
hooks in loop and template files in loop for different content types.