Refactor aggregation query and front end that already exists
Changed to moviestatz with z