refactored relationship hierarchy out of sexp_explorer into  seperate files