Engakuji , founded in 1282 , became the second most important in the group of monasteries called the Gozan ( Five Mountains ) , a hierarchy established in the 14th century for the Zen temples under the official patronage of the shogunate .
The shogunate did not believe in monasteries .