Now supports package with linebreak
Now spawns sql_builder in new thread