Extracted a GetWakaData class
adding comments, renamed index.php to cron.php, quick clean up