Main bundle generation