This is a work in progress (and probably will stay such for a long time).

How midPoint does work internally?

Answering this question is maybe quite hard. In the meantime please enjoy the following diagrams aimed at providing an overview of two key components: Projector and Clockwork.

(source)