accessor methods

Removed the regular accessor methods
added attr_reader instead for the variables

moved check_health to be an outside function so anything can use it.