add buffer
work on leveldb + update headers licence