add lib, create structure