Added JavaDoc to main application class
Switched error message to print on standard error so that it's visible when output redirection is used on standard output