Creates a new database if it is not available