Add a factory for creating crud views with or without logging