made the dForm setup a smarty sub module