forward and backward relations between sets but with no recursion depth limit
implemented basic has many and belongs to relationships