removed old code, added pretty printing and simple readme