General commit: class structure and pandas integration