Lightweight database