Code improvement
Updated settings logic to allow creating htaccess file
Added new method for updating htaccess