public function addAction()
{
$class = Object\ClassDefinition::create(['name' => $this->correctClassname($this->getParam("name")), 'userOwner' => $this->user->getId()]);
$class->save();
$this->_helper->json(["success" => true, "id" => $class->getId()]);
}