add server side timestamp
append mode should be specified at initialization time

It doesn't work to have append mode as an argument to write. This is now deprecated.
add batch writing support to collections
avoid potential ts collision