Remove the primary key column from data tables.
Add functionality for localhost and local testing.