Reorganized resources and deleted unused codes