New class using hashmap implementation to track battle objects