added forms.py and functions.py