Exported current db and changed views to use CreateView