Useing HashMap instead of ArrayList

Made the actor lists use a HashMap for increased preformance.