Add foreign keys to database (resolves #26)