GenerateResult, fixed some util functions
A bit ugly, but it does analyze all the libraries

Closes #73