create initial database and establish connection