Now it uses gridfs-stream
db stuff
Partly Converted to database