Refactored health variables, removed some magic numbers
Code formatting