Made a stand-alone Class Builder implementation to support more than just entities

Signed-off-by: Irmo van den Berge <bergerkiller@gmail.com>