Why is Peter considered to be the foundation of the church?

He wrote the first parables.
He founded places of Christian worship.
His position was chosen by the apostles.
He was given a leadership role by Jesus.