Fully implemented customers/resource management functionality. Changes
to MiddlewareImpl, ResourceManagerImpl, and the ResourceManager
interface.