Added json formatter. Implemented web interface.