added category scaffold and and properly configured its associations with post