Lots of code refactoring, objects stay objects until scad_output is called