adapting the Form Base Class to the new relationships config