Added a userfacing tool allowing many-to-one, one-to-many, and many-to-many foreign key mappings.