[Backend] Refactor