...
Screenshots are attached.
The basic API additions were as follows-
InputForm-Class representing an inputform
InputFormField-Class representing an input-form field
InputFormPage-Class representing an input-form page
ValuePair-Class representing a value-pair
...