pub fn clean_code(code: &str) -> String
Cleans code by removing comments, imports, console logs, and excessive whitespace.