Move global functor construction to its own file and define notations.

And now the part that I forgot to commit.
1 job for master
Status Job ID Name Coverage
  Test
passed #13
coq
buildjob

00:04:57