remove old code.
Modify main.hs so it compiles.
Add JSON functionality.
Add install instructions to README.