DbClassManager classManager = new DbClassManager(ds);
classManager.prepareDataSource();
TaskScheduler scheduler = new PrioritySerialTaskScheduler();
Executor executor = Executors.newCachedThreadPool();
jobServer = new JobServer(jobsDirectory, factory, scheduler, classManager, executor);
AuthenticationServer authServer = new AuthenticationServer(jobServer, JdcpUtil.DEFAULT_PORT);
logger.info("Binding service");
Registry registry = getRegistry();
registry.bind("AuthenticationService", authServer);