better init + batching

added test, fixes #11 
added docs, fixes #10