fix disp table
generate class prototypes
start to generating code