added htaccess and created base templates