start framework for handeling the messages