facto out #form and #grid into qvyp_application\#main