added url, urlRoot, collection, and handlers to entity template