Simple code structure for trackpy