added support for fetching local vs remote entities, service for character index
generalized rails controller for entity services, added services for groups, separated calls for local / remote entity fetching