REDTEST-0021: change image email service url dir.
REDTEST-0022: code refactoring, adding comments like java docs.
REDTEST-0023: code refactoring.