 Reflux = require 'reflux'
 projectConfig = require '../lib/config'
-subjectStore = require '../stores/subject-store'
+subjectStore = require './subject-store'
+userStore = require './user-store'
+projectStore = require './project-store'
 classifierActions = require '../actions/classifier-actions'
 {api} = require '../api/client'
 


  createFavorites: ->
    project = projectConfig.projectId
    display_name = "Favorites #{project}"
    subjects = [@subjectID]
    favorite = true


    query =
      project_id: projectConfig.projectId
      favorite: true
      owner: userStore.userData.user.login

    api.type('collections').get(query)
      .then ([favorites]) =>
