Merge core.py with various ...toolbox...py files

This will result in `self.off1`, `self.off2`, etc all pointing to the same array. You probably want 4 separate arrays.