Make API public to create other Formatters

Fixes #11.