Added files from coslib repository