Deletes unnecessary legacy files. implements RSS and Search.json generation, and starts reeimplementing API