add abstract storage class
fix read and write open
add MongoDB/GridFS example to doc