First commit to new extrusion branch. Previous functionality ported.
Fixed global attribute error when backend changes.