refactored class inheritance for romm messages