 class SocialApiController extends KDController
 
   constructor: (options = {}, data) ->
+
     @openedChannels = {}
+    @_cache         = {}
+
     super options, data
 
-    KD.getSingleton("mainController").ready @bound "openGroupChannel"
+    KD.getSingleton('mainController').ready @bound 'openGroupChannel'
+
 
   getPrefetchedData:->
 

    byId                 : channelRequesterFn
      fnName             : 'byId'
      validateOptionsWith: ['id']
      mapperFn           : mapChannels

    byName               : channelRequesterFn
      fnName             : 'byName'
      validateOptionsWith: ['name']
      mapperFn           : mapChannels

    list                 : channelRequesterFn
      fnName             : 'fetchChannels'

    data.publicFeed       = processInCase mapActivities, publicFeed

    return data


  openGroupChannel: ->
    # to - do refactor this part to use same functions with other parts
