Update extract-method to automatic extract all the top-level funtion (except for the main funtion)
But buggy on return type extraction, and is not generating codes to another header file.