Factored out Dom manip into Interface class