added registry classes, added constructors in message class