Move all generator code to the library.
Remove and update everything.
Update outdated libraries.