Fixed reset and added create_var_dict

create_var_dict will allow for easier url encoding, since that can be reversed to get the values in the forms, and can be made into a query dict.