add bricgenerator to brictemplate