create lib structure