finished ParamSack class, now removing magical numbers and constants from the original code