refactor generate class