pub fn init_database(name: &str) -> Result<()>
Initialize a new SQLite database with enhanced error handling