Implemented JSON API and Readme