Add javaDocs and help message