 
   CActivity = require './activity'
   JAccount = require './account'
-  JReview = require './messages/review'
+  #JReview = require './messages/review'
   JTag = require './tag'
 
   @trait __dirname, '../traits/filterable'       # brings only static methods

        default     : 0

    relationships   :
      creator       : JAccount
      review        : JReview
      activity      :
        targetType  : CActivity
        as          : 'activity'
      follower      :
        targetType  : JAccount
        as          : 'follower'
      likedBy       :
        targetType  : JAccount
        as          : 'like'
      participant   :
        targetType  : JAccount
        as          : ['author','reviewer','user']
      tag           :
        targetType  : JTag
        as          : 'tag'

  @create = secure (client, data, callback)->

      if err then callback err else @markInstalled client, _apps, (err, apps)=>
        @markFollowing client, apps, callback

  @markInstalled = secure (client, apps, callback)->
    Relationship.all
      targetId  : client.connection.delegate.getId()
      as        : 'user'
