Added a new Array class and made the Pool use that instead of vector.