Configured category and type tables and edited erb to pull from the new tables.