moved factorybean classes from config.xml to config package