GPII-716: Move socket component into another file.
GPII-716: Move prefsEditor.js into src/pcp.