Added data.py module to consolidate data retrieval and intersection point calculation logic