add directory helper

Added a JTask::Helper module with a method that assists with setting
the directory to look in. Reduces amount of repetitive code (in
response to enhancement request #5).