adds necessary classes for future versions of seldon. cleans up html.