 module.exports = class Graph
   constructor:(config)->
     # todo remove hardcoded id
-    @groupId = KD?.getSingleton('groupsController')?.getCurrentGroup()?.getId() or "5150c743f2589b107d000007"
+
+    @groupId   = "5150c743f2589b107d000007"
+    @groupName = "koding"
     @db = new neo4j.GraphDatabase(config.host + ":" + config.port);
 
   objectify = (incomingObjects, callback)->

  fetchAll:(startDate, callback)->
    start = new Date().getTime()
    query = [
      # 'start koding=node:koding(\'id:5150c743f2589b107d000007\')'
      'START koding=node:koding(id={groupId})'
      'MATCH koding-[:member]->members<-[:author]-content'
      'WHERE (content.name = "JTutorial"'

      startDate : startDate

    @db.query query, params, (err, results)=>
      tempRes = []
      if err then callback err
      else if results.length is 0 then callback null, []
