Init server framework.