Profiles endpoint

this should provide a `profiles` endpoint that can be used to create and query entity profiles.