support consul service health checks by loading endpoint data into /_consul namespace
integration testing for consul services
code formatting
Added some comments and cleaned up