moved form-related classes/helpers into forms.py.