Base service endpoint can now be set through config.

Also refactored sender information.