remove data and format database classes