moved a bit of code to common module
Authored by: Jean-Francois Dockes 2016-09-08
Parent(s): [2cfb8a]
Child(ren): [96dca5]