Initial DB set-up. Read regex_db header for current functionality