Change the way roots are stored.

Signed-off-by: Casey Dwyer <caseydwyer@gmail.com>
Add hist command.

Signed-off-by: Casey Dwyer <caseydwyer@gmail.com>