added support for custom root path
updated docs to reflect ability to change root_path