reformat that file
many cleanup changes, also capturing
fixed attacking
fixed continuous motion
fixed the cooldown system