added main sql tables