scala dependency injection post