Added Constructor for header and message class