API data parser PSN step 1 done.

API parser can now generate games data for PSN, which is step 1. Note:
code is ugly.
API data parser PSN step 2 done.