entity builder is created by a separate function

Signed-off-by: Blessing Osakue <iyoworks@gmail.com>