Added support for formatting from bom - fixes #8
Merge pull request #9 from slacker/bom-support

Added support for formatting from bom - fixes #8