Add target selection
Impelement extension system. Change fight-state data representation.