resources and definitions
license should really be LGPL because originally based on GNU code
fixing license to be LGPL