Improved handling of full flows.

Now it is a file compilation, which among other things, allows to define packages and keep positions.