Update state for channels, folders and events

removed the state model and attached the state functionality inside the
collection(channels, folders and events).