added batch() support + tests and created examples folder