fixed attack animation
reorganized inputmanager