build: adding flexibility to htaccess generator and better documentation to data format.