Added submit() method to Form class, added template as well.