Clean up operating system.

Consistent spacing. Full variable names rather than single letter
variables. Remove writer methods as there should be no need to change
version or name once created. Also ensured that eql? works like ==.