pub async fn init_database() -> Result<Surreal<Db>>
Initialize the database with the necessary tables.
This function will return an error if the database cannot be initialized.