Added wtforms, fixed import problems

Added wtforms; fixed import problems