better handling of root dir. now requires users to pass in a root dir
add example
better readme