Changed factory beans to prototype