move class builder into support module

Signed-off-by: Chris Boertien <chris@aktionlab.com>