Added more doc, examples
Some cleanup