 # ITEM
 # -----------------------------------------------------------------------------
 class @Item
+  constructor: (@module, @path, @object, @config) ->
+    @$el =$ """<a class='item' href='#{ @path }' data-id='#{ @object._id }' data-title=''></a>"""
+    @$el.on 'click', (e) => @onClick(e)
+    @render()
+
+
   _is_folder: ->
-    # TODO: update this logic as it's not reliable
+    # update this logic as it's not reliable
     if @object._title then true else false
 
 

  _render_thumbnail: ->
    if @config.itemThumbnail
      imageUrl = @config.itemThumbnail(@object)
      if imageUrl != '' and not imageUrl.endsWith('_old_') # NOTE: carrierwave fix, check if still required
        @$thumbnail =$ "<div class='item-thumbnail'><img src='#{imageUrl}' /></div>"
        @$el.append(@$thumbnail)
        @$el.addClass 'has-thumbnail'
