added buildingrelation model and added api serializer