Create tables.c

The history tables