encode constructor model #456
some refactoring
use a StringBuilder
do not append container name to constructors #456
call delegate constructors #456