general API for different senders added, closes #4