added a simple json api and etl program