This is work in progress of HandlerRegistry and MessageRouter improvements

@sourceress Please review and give feedback, I'll continue to push onto this PR.