Mask animations

I want to create animations like on this site:

  1. How do I create a effect like when you click a button, the whole menu flips up, is that in AE?

  2. When the text loads, it sorta has a mask animation and its curves downwards so not all the text is displayed at once, how do you achieve that?