adding first draft of readme
minor cleanup
finishing implementation