added CCNSSettings a  class to store required settings.