Index: /waeup/branches/ulif-rewrite/src/waeup/student/studentcontainer.py
===================================================================
--- /waeup/branches/ulif-rewrite/src/waeup/student/studentcontainer.py	(revision 4082)
+++ /waeup/branches/ulif-rewrite/src/waeup/student/studentcontainer.py	(revision 4083)
@@ -1,4 +1,6 @@
 import grok
 import os
+from zope.component.interfaces import IFactory
+from zope.interface import implementedBy
 from waeup.interfaces import IStudentContainer
 from waeup.utils import importexport as csv
@@ -11,4 +13,17 @@
     grok.implements(IStudentContainer)
     
+class StudentContainerFactory(grok.GlobalUtility):
+    """A factory for faculty containers.
+    """
+    grok.implements(IFactory)
+    grok.name(u'waeup.StudentContainer')
+    title = u"Create a new student container.",
+    description = u"This factory instantiates new student containers."
+
+    def __call__(self):
+        return StudentContainer()
+
+    def getInterfaces(self):
+        return implementedBy(StudentContainer)
     
 class Import(grok.View):
@@ -38,4 +53,2 @@
         csv.writeFile(result)
         return "yeah %s" % t[0]
-
-grok.global_utility(StudentContainer, provides=IStudentContainer)
