add lightning memory mapped db