Fixed death message and bug
Added stuff for apis