added some documentation and example files