Formatting moved to Formatter class, DOM utilities under DOM helper namespace