Adding main lib