update readme and example. some minor cleaning