Adding main and htaccess