create form class