remove unused files, add access control