make controller and model files
add attrs in post & comment model
make actions in blog controller
codes are working.