Extract interfaces for Dependency Injection by Spring