Implemented hashmap for multiple animations and reset state method for Imp