Battle Related Additions

Added various code to the battle engine