Religion.cs, and misc fixes

Created the Religion.cs file. Also made misc fixes in the other files.
Mostly cleaning up formatting, and fixing an array declaration.