added a stupid json api
few more changes
added a first pass at a readme