more work done on adding classes to the dom portion.