added ability to have multiple endpoints per host; deletion will only remove host when there are no more containers available ; added regex to restrict what endpoints are created