Add tablename constants to save memory and use search() to return DataProvider