Logging data to disk instead of memtables
Changes for enabling writing to disk