[loki] abstract factory et singleton

Version imprimable