starting data refactoring
got the backend stuff for data cleaning
finally shifted model cleanup and search aggregation to the server