removed multirelation code, not using it. removed path and based_path scopes as they were also unused