Javadoc comments added

Signed-off-by: Lahiru Chandima <lahiruchandima@Lahirus-MacBook-Pro.local>