Moved entities array to Entity class