move some classes to util.coffee