Upload admin UI and code cleanup