Added shared memory as IPC

* Every thread now has a mmaped file.
* All mmaped files are created in a common dir
* Removed stuff that will not work