added basic implementation for batch ops
added support for batch saves
added batch test