Initial commit on specifying root
Finish support for pruning