The ME is basically an independent universal computer in its own right, it comes with its own clock, RAM, CPU etc...
It is like a Matryoshka doll sitting inside the Intel CPU of your computer. Therefore, yes, it can contain all of that. For further details see my other two posts.