Database tables design and related pdf.