moved tables into a separate file