classmap generation