NodeJs module for DAO layer with validations and referencial integrity in Mongo databases