Added getEntities and getEntitiesAsync

New methods to allow creation of multiple entities of the same type.
Entities are passed in as an ArrayList.