finished port of box_fitting_mod. reformatted some old stuff. added gitignore.