JavaDoc added, methods added

reset method added
getter method added