added some examples, moved lib files