Added htaccess files to prevent users from directly accessing templates, revised composer config