Added Regex object
Fixed up whitespace and style. Made sure that converters are all self contained so can be extracted easily.