Added mailbox files for sending and receiving messages. Added new arguments for mmapped functionality and threading.