Removed unused factories, controllers, and their tests.