DB structure++ (added separate table for references)