adds formatters, some refactoring
Merge pull request #29 from sclinede/refactor/add_formatters

adds formatters, some refactoring