Finished first version of relationship system