Improve BCoreApplication and BApplication

Change setMapping() methods interface. Add setMappingSender() methods.