Working on Code Cleanup

Identified some issues, commented and cleaned up beginning parts of
modServer
Still working through cleaning the code
Continuing Cleaning modServer