Revert "Differents extension factories (depending of strategy to load references)"

This reverts commit 0635213b24ec063fe34015565ecfe943a8b31c96.
refactoring application environment (json config filename and env var)