Add basic batch functionality for local CaPso