Added rr:joinCondition, rr:parent, and rr:child support. Also, input model is now optional