Route53 dns based load balancers support added. Some refactoring.