spawning new extendable classes for form elements