Documentation

Corrected Spelling/wordings, Added JavaDocs and added documentation.