Yi - implements constructor injection