adding standard interface for formatter, cleaning up excess dependencies