Creates Post and Comment models with relationships.