made getState a function
oven object literal OOJS
oojs prep table
return batch
Merge pull request #3 from codesliced/preptable

Preptable