Added javadocs to the input field class