Core codebase for Gaze platform including API endpoints