Refactors seed controller