Create recordManager.js