Separated some functions from lind_monitor to create lind_util

Added lind_getcwd() in lind_util to obtain relative directory of config file