reformat code
updated readme