generate bundle
generate entities and relations