Database Cleaning

Automatic cleaning of database