added categories table, primary and foreign keys