Added install.php/validateConfig.php. Made regexes in config optional.