document manager from Eloquent Ruby