initial commit for contentManager.js