Batch create, misc

- batch create
- fixed validation
- fixes in memory adapter