Create processes better

With this update, processes create pid files and log directories consistent with the defined LOG_DIR variable, rather than assuming the defaults.