added controllers

we added post and category controllers w/ needed methods in each controller