adds post and comment model associations and nested routes