Created the main database