I made the code in ligtDb.js, and documentation in the README