Added spring for the use of dependency injection