Added all foreign keys
Added uniqueness constraints