- modify layout module to not use shared objects for messaging