Added sql folder and changed views for dagrs