updated sql dump, and added some custom view shit for pagination