create messager class