Make locations a resource