Basic library structure for lenslib