APY-47: Refactor CDM, APY-112: Make authentication user name case insensitive

APY-47: Refactor CDM to include content metadata and make it extensible
APY-112: Make authentication user name case insensitive