             callback new KodingError "Can't create new VM."
 
   checkUsage: (account, group, callback)->
-    JVM = require '../vm'
     JVM.someData
       planOwner   : "group_#{group._id}"
       expensedUser: "user_#{account._id}"


  {permit} = require '../group/permissionset'

  {groupBy} = require 'underscore'

  {daisy} = require 'bongo'

  @share()


        default       : 'not allowed'

  createVM: (account, group, data, callback)->
    {type, planCode} = data

    if type is 'user'
