add shared memory

add semaphore and shared memory
need file manager.ini