dependency injection part of flame server framework