reorganize files, sanitize resources