dev work on permissions mostly
removed unused files