Add spring configuration and update DAO