add readme, clean up and comment