New version with better named pipe and test app for the named pipe created in profilab