added and example and changed dir structure