Renamed all occurencies of classname into class to enforce consistency
Renamed variables in ClassGenerator interface to make things clearer