Model Updated to support foreign keys

Database at arlia now features foreign key indexes