refactor the SRP project to use two controllers