Now creates all the necessary databases