added level db. Still working on it.