draft for checkying functions
reorganisation, move config and constant up
extraction checkying in file taking file rather than just the config
inbuilding pattern with line number for checkying function
fixed the regexp for syntax checkying
complete the function to check if directories exist in config
complete funtion to test syntax of config file
check config rename and note of potential bugs
improve check file directory exists by keeping track of the variable
that would be created by diraction-create
minor  refactor of chekying directory function