shortening regex values in the config file
update documentation on config file syntax
implement configuration reading from file
add extra check on config type