DB Work

New table and foreign keys.