Added documentation for all helper classes for LoadBalancerMain, commented and added debug statements for LoadBalancerMain. Fixed wrong sign issue.