Reformatted code, no functional changes
Added validations for contact person 1. Relationship model WIP.