added format for the server propeties file in comment and few minor changes

The few changes should make it more user friendly and less lines of code to check and see if this matches this ect