removed outdated examples
updated examples plus small things in lib