Removed deprecated API & updated new API

Added a maxHealth value to the Boss class