added smoother death, health and removed the dreaded StaticResource.java