Add tables with relationships