Split controller in two logic parts.