Put database functions in a static class and added a travis change to help line length