Updated Functionality for the SpinCtrl and also worked on the initialization and control of the variables.
Extract documentation for now.