add minilib to main project