factory class for builders