gen libs e framework