Build up Post resource usage and define comment resource