split the model into relations & updated api endpoint