Creating a set of classes to create form elements