consolidate the database tables. makes it more flexible in the future