create interface for webwords and implement DOM and regex classes