Adds automatic creation of tables if not exists