classes generation tool