Remove unused tables in main app