Clean up Universe class a bit: use properties, move everything into instance properties, etc
Fix python 3 compatibility