Basic lib structure