Re-organize files; add first half of PS4 code