KRACOEUS-7022 moving some irb & protocol code into irb & protocol

This pull request is just moving irb & protocol code into  irb & protocol but no other code reorganization is being done at this time.