move dependency injection into a separate file
0.3.0