added help pages and made it more generic