Added more javadocs

* Added more javadocs in params pkg
* Removed unused import
* moved one check to constant