refactor servers: IoC is not needed in certain areas