Messages framework setup