Renamed some files, wrote a spec file.

We renamed some files and wrote a spec file for the json sessions controller.