Added new formatter, locale handler and tests