refactoring mongo access
updated package.json
generci pagination with callback
pagination of kinds