Separating functions into modules
Now retrieves all data on entities returned for a query

Still need to DO something with that data