Use the main method to generate the DB objects