libcs library