Added method clearEntities that clears the hashmap and sets the current ID back to 0. Clean start.