Implemented more API's

Specifically for HtmlElements to add/remove classes/attributes.