Added new class for generating .htaccess file

Signed-off-by: Chanaka Indrajith <pe.chanaka.ck@gmail.com>