Create generic controller to clean database