fix latest problems, only not-so-nice thing is the double sping declarations in both the applicationContext and usb_rest_config.xml