refactored: The class Form is now simpler and tested.