Adding api_host_resource

a base class that has route features.