remove unused options
adding bind ip/port settings
fix indentation
registration parameters, determining ip automatically, adding capacity option