[Added] Another way of using SPEL. Used SPEL and Autowired annotations