refactored: moved setting of 'endpoint' field after exporting STRATUSLAB_ENDPOINT; renamed intialisation methods.
refactored: moved setting of 'endpoint' field after exporting STRATUSLAB_ENDPOINT; renamed intialisation methods.

StratusLab/client,StratusLab/client,StratusLab/client,StratusLab/client