DO NOT MERGE, setup modelrelations properly

I'll go over how this works tomorrow.