refactored to use a central library handler, refactored help library