Optimize object call in model
Add rspec to engine
Add snappy lib for leveldb