refactor entity update flags
add entity state
add entity health
refactor
cleanup
add weapons and attacking