Added paths configuration through env variables

The paths for the name pipe and the command file
are now set through environment variables and they
are managed with config.h